package com.ate.lib_core.http.interceptor;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * @author Ate
 * @description:
 * @date :2020/12/10 14:37
 */
public interface TokenApi {

    @FormUrlEncoded
    @POST("token")
    Call<TokenBean> token(@Field("grant_type") String type, @Field("username") String code, @Field("password") String pwd);

}